<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>文件上传</title>
</head>
<body>
<form action="${pageContext.request.contextPath }/upload" 
	method="post" enctype="multipart/form-data">
	账户：<input name="userId"/><br/>
	<input name="myfile" type="file"/><br/>
	<input value="上传" type="submit"/>
</form>
</body>
</html>